package com.cr.business.domain;

import com.cr.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 网格化监管排名信息对象 tb_supervision_ranking_info
 * 
 * @author tang
 * @date 2025-10-28
 */
public class TbSupervisionRankingInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 姓名 */
    private String name;

    /** 单位名称 */
    private String unitName;

    /** 巡逻次数 */
    private Integer patrolTimes;

    /** 删除标志（0-存在，2-删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }

    public void setPatrolTimes(Integer patrolTimes) 
    {
        this.patrolTimes = patrolTimes;
    }

    public Integer getPatrolTimes() 
    {
        return patrolTimes;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("unitName", getUnitName())
            .append("patrolTimes", getPatrolTimes())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
